/**
 * 
 */
package com.wolfpire.info.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wolfpire.system.common.Constants;
import com.wolfpire.system.common.UnCover;

/**
 * 信息化建设统计表
 * @author lihd
 *
 */

@Entity
@Table(name = "t_inforation_count_info")
public class InformationCountInfo implements Serializable {
	
	private static final long serialVersionUID = 2371245874690439588L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 16)
	private Long id;//主键Id
	
	@Column(name = "year_", length = 5)
	private Integer year; //年度
	
	@Column(name = "equipment_value", length = 16)
	private String equipmentValue;//信息技术设备总值(万元)
	
	@Column(name = "computer", length = 8)
	private Integer computer; //教学用计算机数（台）
	
	@Column(name = "avg_computer", length = 8)
	private String avgComputer; //生均计算机数（台）

	@Column(name = "switchboard", length = 8)
	private Integer switchboard; //交换机（台）
	
	@Column(name = "safety_equipment", length = 8)
	private Integer safetyEquipment; //安全设备（台）
	
	@Column(name = "access_port", length = 8)
	private Integer accessPort; //接入端口（个）
	
	@Column(name = "wireless_network", length = 2)
	private String wirelessNetwork; //无线网络(1:有， 0：没有)
	
	@Column(name = "backbone_bandwidth", length = 8)
	private String backboneBandWith; //主干网带宽（M）
	
	@Column(name = "internet_bandwidth", length = 8)
	private String internetBandwidth; //互联网接入带宽（M）
	
	@Column(name = "digital_classroom", length = 8)
	private Integer digitalClassroom; //数字化技能教室数
	
	@Column(name = "virtual_room", length = 8)
	private Integer virtualRoom; //虚拟仿真实训室数
	
	@Column(name = "remote_coo_room", length = 8)
	private Integer remoteCooRoom;//远程协作教室数
	
	@Column(name = "online_course", length = 8)
	private Integer onlineCourse;//网络课程（门）
	
	@Column(name = "simulation_software", length = 8)
	private Integer simulationSoftware; //仿真软件（套）
	
	@Column(name = "create_user_id", length = 16)
	private Long createUserId; //创建用户Id
	
	@Column(name = "create_user_name", length = 50)
	private String createUserName; //创建用户名称
	
	@UnCover
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date createTime = new Date();//创建时间
	
	@Column(name = "del_flag", length = 1)
	private Integer delFlag = Constants.NORMAL_FLAG;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public String getEquipmentValue() {
		return equipmentValue;
	}

	public void setEquipmentValue(String equipmentValue) {
		this.equipmentValue = equipmentValue;
	}

	public Integer getComputer() {
		return computer;
	}

	public void setComputer(Integer computer) {
		this.computer = computer;
	}

	public String getAvgComputer() {
		return avgComputer;
	}

	public void setAvgComputer(String avgComputer) {
		this.avgComputer = avgComputer;
	}

	public Integer getSwitchboard() {
		return switchboard;
	}

	public void setSwitchboard(Integer switchboard) {
		this.switchboard = switchboard;
	}

	public Integer getSafetyEquipment() {
		return safetyEquipment;
	}

	public void setSafetyEquipment(Integer safetyEquipment) {
		this.safetyEquipment = safetyEquipment;
	}

	public Integer getAccessPort() {
		return accessPort;
	}

	public void setAccessPort(Integer accessPort) {
		this.accessPort = accessPort;
	}

	public String getWirelessNetwork() {
		return wirelessNetwork;
	}

	public void setWirelessNetwork(String wirelessNetwork) {
		this.wirelessNetwork = wirelessNetwork;
	}

	public String getBackboneBandWith() {
		return backboneBandWith;
	}

	public void setBackboneBandWith(String backboneBandWith) {
		this.backboneBandWith = backboneBandWith;
	}

	public String getInternetBandwidth() {
		return internetBandwidth;
	}

	public void setInternetBandwidth(String internetBandwidth) {
		this.internetBandwidth = internetBandwidth;
	}

	public Integer getDigitalClassroom() {
		return digitalClassroom;
	}

	public void setDigitalClassroom(Integer digitalClassroom) {
		this.digitalClassroom = digitalClassroom;
	}

	public Integer getVirtualRoom() {
		return virtualRoom;
	}

	public void setVirtualRoom(Integer virtualRoom) {
		this.virtualRoom = virtualRoom;
	}

	public Integer getRemoteCooRoom() {
		return remoteCooRoom;
	}

	public void setRemoteCooRoom(Integer remoteCooRoom) {
		this.remoteCooRoom = remoteCooRoom;
	}

	public Integer getOnlineCourse() {
		return onlineCourse;
	}

	public void setOnlineCourse(Integer onlineCourse) {
		this.onlineCourse = onlineCourse;
	}

	public Integer getSimulationSoftware() {
		return simulationSoftware;
	}

	public void setSimulationSoftware(Integer simulationSoftware) {
		this.simulationSoftware = simulationSoftware;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	
}
